<!DOCTYPE html>
<html>
<head>
  @include("/include/_header.html", {'title':'系统消息'}){}
  
</head>
<body>
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">
          <div class="layui-card-header">查询</div>
          <div class="layui-card-body">
          	<div class="layui-form">
	            <div class="test-table-reload-btn" style="margin-bottom: 10px;">
	              	消息标题：
	              <div class="layui-inline">
	                <input class="layui-input" name="title" id="title" autocomplete="off">
	              </div>
	               	  消息类型：
	              <div class="layui-inline">
	              	<t:select name="type" dicCode="func_sys_message_type" id="type" blank="请选择消息类型"></t:select>
	              </div>
	              	消息状态：
	              <div class="layui-inline">
	               <t:select name="status" dicCode="func_sys_message_status" id="status" blank="请选择消息状态"></t:select>
	              </div>
	              
	                 <div class="layui-row" style="margin-top: 10px;">
						<div class="layui-col-md2 layui-col-md-offset10">
						   <button id="btnSearch" class="layui-btn">搜索</button>
	              			<button id="btnReset" class="layui-btn">重置</button>
						 </div>
	                 </div>
	             
	            </div>
             </div>
             <input type="hidden" id="clickValue" name="clickValue">
            <table class="layui-hide" id="func-message-table" lay-filter="func-message-table"></table> 
          	<!-- 头部工具栏 -->
            <script type="text/html" id="func-message-toolbar">
              <div class="layui-btn-container">
                <button class="layui-btn layui-btn-sm" lay-event="doAdd">新增</button>
 				<button class="layui-btn layui-btn-sm" lay-event="doPublish">发布</button>
              </div>
            </script>
            <!-- 表格操作按钮 -->
            <script type="text/html" id="func-message-tool">
				<t:a cssClass="layui-btn layui-btn-primary layui-btn-xs" layEvent="detail" label="查看"></t:a>
				<t:a cssClass="layui-btn layui-btn-xs" layEvent="edit" label="编辑"></t:a>
				<t:a cssClass="layui-btn layui-btn-danger layui-btn-xs" layEvent="del" label="删除"></t:a>
            </script>
            <script type="text/html" id="sys-message-status">
         		{{#  if(d.status == '1'){ }}
            		<span class="layui-badge layui-bg-green">已发布</span>
				{{#  } else { }}
            		<span class="layui-badge layui-bg-gray">草稿</span>
          		{{#  } }}
        	</script>
          </div>
        </div>
      </div>
    </div>
  </div>
 
  @include("/include/_container.html", {'js':'/assets/func/message/sys/message_list.js'}){}
</body>
</html>